#ifndef __UART_BSP_H__
#define __UART_BSP_H__

#include "main.h"
#include "stdbool.h"
#define BUFF_SIZE	25

extern uint8_t rx_buff[BUFF_SIZE];
void Sbus_Data_Count(uint8_t *pData);


typedef struct SBUS_EXPORT
{
		uint16_t online;
    uint16_t channels[16];
    bool digital1;	// digital channel1 (ch17)
    bool digital2;	// digital channel2 (ch18)
    bool frameLost;
    bool failSafe;
} SBUS_Value, *pSBUS_Value;
#endif /*__UART_BSP_H__ */

